package com.nothing.service;

import java.util.List;

import com.baomidou.mybatisplus.service.IService;
import com.nothing.domain.User;
/**
 * 
 * @author shíQíang㊚
 *
 */
public interface UserService extends IService<User> {

    boolean authenticate(String email,String password);

    User findByEmail(String email);
    
    void deleteInBatch(List<User> users);
    
    User save(User user);
    
    User update(User user);
}
